// 菜单折叠reduce
const CollApsedReducer = (prevState = { isCllooapsed: false }, action) => {
  switch (action.type) {
    case "CHANGE_COLLAPSED":
      let newstate = { ...prevState }
      newstate.isCllooapsed = !newstate.isCllooapsed
      return newstate
    default:
      return prevState
  }
}

export { CollApsedReducer }